package com.allen.app.helper

import com.allen.app.core.RouterHub
import com.allen.app.utils.BundleKey

/**
 * author : Allen
 * date   : 2020/08/17
 * time   : 19:04
 * desc   : App跳转辅助类
 */

/**
 * 打开糗事详情页面
 */
fun launchInfoDetailsActivity(title: String? = null) {
    RouteHelper.navigation(
        RouteHelper.navigationPostcard(RouterHub.ROUTER_INFO_DETAILS_ACTIVITY)
            .withString(BundleKey.INFO_TITLE, title)
    )
}